#include "myconfig.h"

MyConfig::MyConfig()
{
    QSettings config("config.ini",QSettings::IniFormat);
    server=config.value("database/server").toString();
    dbname=config.value("database/database").toString();
    username=config.value("database/username").toString();
    password=config.value("database/password").toString();
}
